﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Decoration.Models.Models
{
    public class Base_RoleMenu
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        public int RoleId { get; set; }

        public int MenuId { get; set; }

        public DateTime CreateTime { get; set; } = DateTime.Now;

        public int Status { get; set; } = 1;

        public virtual Base_RoleInfo Role { get; set; } = null!;
    }
}
